package com.chenglai.pay.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author rxh
 */
@ApiModel(value = "t_cl_pay_info")
@Table(name = "t_cl_pay_info")
public class PayInfo implements Serializable {


    @Id
    @Column(name = "pay_id",updatable = false)
    @ApiModelProperty(value = "null")
    private Integer payId;

    @Column(name = "transaction_id")
    @ApiModelProperty(value = "null")
    private String transactionId;

    @Column(name = "order_num")
    @ApiModelProperty(value = "null")
    private String orderNum;

    /**
     * 支付平台 0 wx
     */
    @Column(name = "pay_form")
    @ApiModelProperty(value = "支付平台 0 wx ")
    private Integer payForm;

    /**
     * 支付金额
     */
    @Column(name = "pay_num")
    @ApiModelProperty(value = "支付金额")
    private Integer payNum;

    /**
     * 支付时间
     */
    @Column(name = "pay_time")
    @ApiModelProperty(value = "支付时间")
    private String payTime;

    public Integer getPayId() {
        return payId;
    }

    public void setPayId(Integer payId) {
        this.payId = payId;
    }


    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }


    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }


    public Integer getPayForm() {
        return payForm;
    }

    public void setPayForm(Integer payForm) {
        this.payForm = payForm;
    }


    public Integer getPayNum() {
        return payNum;
    }

    public void setPayNum(Integer payNum) {
        this.payNum = payNum;
    }


    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

}
